<div class="dialog-container mdd-dialog mdl-shadow--8dp mdl-layout--fixed-header SMES-dialog B0243-dialog c-mdd-page" ng-init="dialog.init();" style="background-color: #fafafa" page-type="Dialog" _transclude-elem="[object Object]">
  <div class="kmi-header-row">
    <div class="header-title" ng-bind="dialog._title | translate"></div>
    <!--More Menu-->

    <!--Close button-->
    <div class="kmi-side-btn right" ng-click="dialog.hide();">
      <img src="image/icons/clear.png" />
      <div class="kmi-can-click"></div>
    </div>
  </div>
  <div class="kmi-layout-main-content" style="flex: 1">
    <!--Page-->
    <div class="kmi-layout-page">
      <div class="mdd-layout__with-toolbar mdd-layout c-mdd-layout" layout-name="B0243" page-name="" page-type="Dialog" with-toolbar="Y" reload="N" _transclude-elem="[object Object]" style="grid-template-columns: repeat(3, auto 1fr)">
        <label class="label" ng-show="dialog._event['check_qty'].isShown != 'N'" style="" ng-bind="'B0243.columns.check_qty' | translate"></label>
        <div class="value" ng-show="dialog._event['check_qty'].isShown != 'N'" style="">
          <input type="text" readonly="" ng-model="dialog.inspectionInfo.check_qty" ng-click="dialog._event['check_qty'].click(dialog.inspectionInfo.check_qty, {event:$event});" ng-disabled="dialog._event['check_qty'].isDisabled == 'Y'" />
        </div>
        <div item-name="operator_no" class="kmi-text-fields" style="grid-column-start: span 2">
          <label class="label" ng-bind="'B0240.operator_no' | translate"></label>
          <input class="operator_no" ng-model="dialog.inspectionInfo.operator_no" ng-keydown="dialog.input_operator_no($event);" />
          <div class="tip search" ng-click="dialog.check_operator_no();"><img src="image/icons/search.png" /></div>
        </div>
        <div item-name="employee_no" class="kmi-text-fields" style="grid-column-start: span 2">
          <label class="label" ng-bind="'B0240.employee_no' | translate"></label>
          <input class="employee_no" ng-model="dialog.inspectionInfo.employee_no" ng-keydown="dialog.input_employee_no($event);" />
          <div class="tip search" ng-click="dialog.check_employee_no();"><img src="image/icons/search.png" /></div>
        </div>
        <label class="label" ng-show="dialog._event['check_time'].isShown != 'N'" style="" ng-bind="'B0243.columns.check_time' | translate"></label>
        <div class="value" ng-show="dialog._event['check_time'].isShown != 'N'" style=""><label class="value" ng-bind="dialog.inspectionInfo.check_time" mdl-toast="{{dialog.inspectionInfo.check_time}}" mdl-toast-passive="true"></label></div>
        <label class="label" ng-show="dialog._event['plot_no'].isShown != 'N'" style="" ng-bind="'B0243.columns.plot_no' | translate"></label>
        <div class="value" ng-show="dialog._event['plot_no'].isShown != 'N'" style="grid-column-start: span 3"><label class="value" ng-bind="dialog.inspectionInfo.plot_no" mdl-toast="{{dialog.inspectionInfo.plot_no}}" mdl-toast-passive="true"></label></div>
        <label class="label" ng-show="dialog._event['area_no'].isShown != 'N'" style="" ng-bind="'B0243.columns.area_no' | translate"></label>
        <div class="value" ng-show="dialog._event['area_no'].isShown != 'N'" style=""><label class="value" ng-bind="dialog.inspectionInfo.area_no" mdl-toast="{{dialog.inspectionInfo.area_no}}" mdl-toast-passive="true"></label></div>
        <label class="label" ng-show="dialog._event['op_no'].isShown != 'N'" style="" ng-bind="'B0243.columns.op_no' | translate"></label>
        <div class="value" ng-show="dialog._event['op_no'].isShown != 'N'" style="grid-column-start: span 3"><label class="value" ng-bind="dialog.inspectionInfo.op_no" mdl-toast="{{dialog.inspectionInfo.op_no}}" mdl-toast-passive="true"></label></div>
        <div item-name="equipment_no" class="kmi-text-fields" ng-show="dialog._event['equipment_no'].isShown != 'N'" style="grid-column-start: span 2">
          <label class="label" ng-bind="'B0240.equipment_no' | translate"></label>
          <label class="value" ng-bind="dialog.inspectionInfo.equipment_no"></label>
        </div>
        <div item-name="qc_record_param" class="kmi-text-fields" ng-show="dialog._event['qc_record_param'].isShown != 'N'" style="grid-column-start: span 4">
          <label class="label" ng-bind="'B0240.qc_record_param' | translate"></label>
          <div>
            <div class="check-point-switch" ng-class="{'is-selected':dialog.inspectionInfo.qc_record_param == '1'}" ng-click="dialog.open_qc_record();">
              <div style="width: 26px; height: 24px"></div>
            </div>
          </div>
        </div>
        <label class="label" ng-show="dialog._event['pcsno'].isShown != 'N'" style="" ng-bind="'B0243.columns.pcsno' | translate"></label>
        <div class="value" ng-show="dialog._event['pcsno'].isShown != 'N'" style="">
          <input type="text" undefined="" id="pcsno" ng-model="dialog.inspectionInfo.pcsno" ng-keypress="dialog._event['pcsno'].change(dialog.inspectionInfo.pcsno, {event:$event});" ng-disabled="dialog._event['pcsno'].isDisabled == 'Y'" />
        </div>
        <div item-name="smt_psc_type_name" class="kmi-text-fields" ng-show="dialog._event['smt_psc_type_name'].isShown != 'N'" style="grid-column-start: span 4">
          <label class="label" ng-bind="'B0240.process_column1' | translate"></label>
          <label class="value" ng-bind="dialog.inspectionInfo.smt_psc_type_name"></label>
        </div>
        <div item-name="smt_op_seq" class="kmi-text-fields" ng-show="dialog._event['smt_op_seq'].isShown != 'N'" style="grid-column-start: span 4">
          <label class="label" ng-bind="'B0240.process_column2' | translate"></label>
          <input ng-model="dialog.inspectionInfo.smt_op_seq" readonly="readonly" />
          <div class="tip search" ng-click="dialog.loadSmtSeqNum()"><img src="image/icons/search.png" /></div>
        </div>
        <div class="mdd-list c-mdd-list" null="" ng-show="dialog._event['checkList'].isShown != 'N'" style="height:{{dialog._event['B0243'].GetfillHeight()}};grid-column-start:span 6;" list-name="B0243_checkList" list-bind="dialog.checkList" list-alias="dialog.inspectionInfo.qc_reason_detail" enable-select="N" select-all="N" page-name="" page-type="Dialog" _transclude-elem="[object Object]">
          <div class="kmi-list column-selector" kmi-scrollbar="480px" column-selector-id="B0243_checkList" style="flex: 1">
            <div class="kmi-list__header">
              <div class="kmi-list__column head-controls" style="flex: 1" ng-show="dialog._event['dialog.checkList.reason_no'].isShown != 'N'">
                <div class="filter" ng-show="dialog._objcheckList.header[0].isFilter">
                  <input ng-model="dialog._objcheckList.filterColumns['reason_no']" />
                  <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="dialog._objcheckList.header[0].isFilter = false;dialog._objcheckList.filterColumns['reason_no'] = '';">clear</i>
                </div>

                <div class="order" ng-hide="dialog._objcheckList.header[0].isFilter">
                  <i class="material-icons search" style="z-index: 1" ng-click="dialog._objcheckList.header[0].isFilter = true">search</i>
                  <label ng-bind="'B0243_checkList.columns.reason_no' | translate"></label>
                  <i class="material-icons" ng-show="dialog._objcheckList.queryOrder == 0">{{!dialog._objcheckList.header[0].order?'':''}}</i>
                  <div class="kmi-can-click" ng-click="dialog.orderResult(0, 'reason_no', 'dialog._objcheckList');"></div>
                </div>
              </div>
              <div class="kmi-list__column head-controls" style="flex: 1" ng-show="dialog._event['dialog.checkList.reason_name'].isShown != 'N'">
                <div class="filter" ng-show="dialog._objcheckList.header[1].isFilter">
                  <input ng-model="dialog._objcheckList.filterColumns['reason_name']" />
                  <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="dialog._objcheckList.header[1].isFilter = false;dialog._objcheckList.filterColumns['reason_name'] = '';">clear</i>
                </div>

                <div class="order" ng-hide="dialog._objcheckList.header[1].isFilter">
                  <i class="material-icons search" style="z-index: 1" ng-click="dialog._objcheckList.header[1].isFilter = true">search</i>
                  <label ng-bind="'B0243_checkList.columns.reason_name' | translate"></label>
                  <i class="material-icons" ng-show="dialog._objcheckList.queryOrder == 1">{{!dialog._objcheckList.header[1].order?'':''}}</i>
                  <div class="kmi-can-click" ng-click="dialog.orderResult(1, 'reason_name', 'dialog._objcheckList');"></div>
                </div>
              </div>
              <div class="kmi-list__column head-controls" style="flex: 1" ng-show="dialog._event['dialog.checkList.reason_method'].isShown != 'N'">
                <div class="filter" ng-show="dialog._objcheckList.header[2].isFilter">
                  <input ng-model="dialog._objcheckList.filterColumns['reason_method']" />
                  <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="dialog._objcheckList.header[2].isFilter = false;dialog._objcheckList.filterColumns['reason_method'] = '';">clear</i>
                </div>

                <div class="order" ng-hide="dialog._objcheckList.header[2].isFilter">
                  <i class="material-icons search" style="z-index: 1" ng-click="dialog._objcheckList.header[2].isFilter = true">search</i>
                  <label ng-bind="'B0243_checkList.columns.reason_method' | translate"></label>
                  <i class="material-icons" ng-show="dialog._objcheckList.queryOrder == 2">{{!dialog._objcheckList.header[2].order?'':''}}</i>
                  <div class="kmi-can-click" ng-click="dialog.orderResult(2, 'reason_method', 'dialog._objcheckList');"></div>
                </div>
              </div>
              <div class="kmi-list__column head-controls" style="flex: 1 1 0%" ng-show="dialog._event['dialog.checkList.picture_path'].isShown != 'N'">
                <div class="filter" ng-show="dialog._objcheckList.header[3].isFilter">
                  <input ng-model="dialog._objcheckList.filterColumns['picture_path']" />
                  <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="dialog._objcheckList.header[3].isFilter = false;dialog._objcheckList.filterColumns['picture_path'] = '';">clear</i>
                </div>

                <div class="order" ng-hide="dialog._objcheckList.header[3].isFilter">
                  <i class="material-icons search" style="z-index: 1" ng-click="dialog._objcheckList.header[3].isFilter = true">search</i>
                  <label ng-bind="'B0243_checkList.columns.picture_path' | translate"></label>
                  <i class="material-icons" ng-show="dialog._objcheckList.queryOrder == 3">{{!dialog._objcheckList.header[3].order?'':''}}</i>
                  <div class="kmi-can-click" ng-click="dialog.orderResult(3, 'picture_path', 'dialog._objcheckList');"></div>
                </div>
              </div>
              <div class="kmi-list__column head-controls" style="flex: 1 1 0%" ng-show="dialog._event['dialog.checkList.check_type'].isShown != 'N'">
                <div class="filter" ng-show="dialog._objcheckList.header[4].isFilter">
                  <input ng-model="dialog._objcheckList.filterColumns['check_type']" />
                  <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="dialog._objcheckList.header[4].isFilter = false;dialog._objcheckList.filterColumns['check_type'] = '';">clear</i>
                </div>

                <div class="order" ng-hide="dialog._objcheckList.header[4].isFilter">
                  <i class="material-icons search" style="z-index: 1" ng-click="dialog._objcheckList.header[4].isFilter = true">search</i>
                  <label ng-bind="'B0243_checkList.columns.check_type' | translate"></label>
                  <i class="material-icons" ng-show="dialog._objcheckList.queryOrder == 4">{{!dialog._objcheckList.header[4].order?'':''}}</i>
                  <div class="kmi-can-click" ng-click="dialog.orderResult(4, 'check_type', 'dialog._objcheckList');"></div>
                </div>
              </div>
              <div class="kmi-list__column head-controls" style="flex: 1 1 0%" ng-show="dialog._event['dialog.checkList.reason_value'].isShown != 'N'">
                <div class="filter" ng-show="dialog._objcheckList.header[5].isFilter">
                  <input ng-model="dialog._objcheckList.filterColumns['reason_value']" />
                  <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="dialog._objcheckList.header[5].isFilter = false;dialog._objcheckList.filterColumns['reason_value'] = '';">clear</i>
                </div>

                <div class="order" ng-hide="dialog._objcheckList.header[5].isFilter">
                  <i class="material-icons search" style="z-index: 1" ng-click="dialog._objcheckList.header[5].isFilter = true">search</i>
                  <label ng-bind="'B0243_checkList.columns.reason_value' | translate"></label>
                  <i class="material-icons" ng-show="dialog._objcheckList.queryOrder == 5">{{!dialog._objcheckList.header[5].order?'':''}}</i>
                  <div class="kmi-can-click" ng-click="dialog.orderResult(5, 'reason_value', 'dialog._objcheckList');"></div>
                </div>
              </div>
              <div class="kmi-list__column head-controls" style="flex: 1" ng-show="dialog._event['dialog.checkList.description'].isShown != 'N'">
                <div class="filter" ng-show="dialog._objcheckList.header[6].isFilter">
                  <input ng-model="dialog._objcheckList.filterColumns['description']" />
                  <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="dialog._objcheckList.header[6].isFilter = false;dialog._objcheckList.filterColumns['description'] = '';">clear</i>
                </div>

                <div class="order" ng-hide="dialog._objcheckList.header[6].isFilter">
                  <i class="material-icons search" style="z-index: 1" ng-click="dialog._objcheckList.header[6].isFilter = true">search</i>
                  <label ng-bind="'B0243_checkList.columns.description' | translate"></label>
                  <i class="material-icons" ng-show="dialog._objcheckList.queryOrder == 6">{{!dialog._objcheckList.header[6].order?'':''}}</i>
                  <div class="kmi-can-click" ng-click="dialog.orderResult(6, 'description', 'dialog._objcheckList');"></div>
                </div>
              </div>
            </div>
            <div class="kmi-list__row-content">
              <div class="kmi-list__row" id="B0243_checkList_result_list" ng-repeat="item in dialog._event['dialog.checkList'].getPages(dialog.inspectionInfo.qc_reason_detail, dialog._objcheckList.PageConfig, dialog._objcheckList.filterColumns, dialog._objcheckList.header[dialog._objcheckList.queryOrder]) track by $index" ng-class="{'is-select':dialog._event['dialog.checkList'].checkSelect(item, {index:$index, event:$event})}">
                <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.reason_no" ng-if="dialog._event['dialog.checkList.reason_no'].isShown != 'N'"></div>
                <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.reason_name" ng-if="dialog._event['dialog.checkList.reason_name'].isShown != 'N'"></div>
                <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.reason_method" ng-if="dialog._event['dialog.checkList.reason_method'].isShown != 'N'"></div>
                <div item-name="picture_path" class="kmi-list__column column-border is-wrap" style="flex: 1; z-index: 1">
                  <img class="pic" ng-show="item.picture_path!=''" ng-src="{{dialog.server_url+item.picture_path}}" ng-click="dialog.open_checkPic(item);" />
                </div>
                <div item-name="check_type" class="kmi-list__column column-border is-wrap" style="flex: 1; z-index: 1" ng-bind="item.check_type===1?(item.reason_description+(' ('+item.mini_value+'~'+item.max_value+') ')):item.reason_description"></div>
                <div item-name="reason_value" class="kmi-list__column column-input" style="flex: 1; z-index: 1">
                  <div ng-show="item.check_type == 0" class="check-point-switch" ng-class="{'is-selected':item.reason_value == 'true'}" ng-click="item.reason_value = item.reason_value=='true'?'false':'true'">
                    <div style="width: 26px; height: 24px"></div>
                  </div>
                  <input ng-show="item.check_type == 1" mdl-calculater="item.reason_value" mdl-calculater-decimal="true" enable-negative="true" />
                  <img style="height: 24px; width: 24px; padding-left: 4px" ng-show="item.check_type == 1 &amp;&amp; dialog.InRange(item)" src="image/icons/check1.png" />
                  <img style="height: 24px; width: 24px; padding-left: 4px" ng-show="item.check_type == 1 &amp;&amp; !dialog.InRange(item)" src="image/icons/not1.png" />
                  <input ng-show="item.check_type == 2" ng-model="item.reason_value" />
                </div>
                <div class="kmi-list__column column-input" style="flex: 1; z-index: 1" ng-class="{'column-border':!$last}" ng-show="dialog._event['dialog.checkList.description'].isShown != 'N'">
                  <div class="kmi-text-fields">
                    <input type="text" undefined="" id="description" ng-model="item.description" ng-keypress="dialog._event['dialog.checkList.description'].change(item.description, {eventScope:item, event:$event, index:$index});" />
                  </div>
                </div>
                <div class="kmi-can-click" ng-click="dialog._event['dialog.checkList'].rowClick(item, {index:$index, event:$event});"></div>
              </div>
            </div>
          </div>
          <div class="page-content">
            <div class="page-icon">
              <img src="image/icons/dropleft.png" />
              <div class="kmi-can-click" ng-click="dialog.prevPage(dialog._objcheckList.PageConfig);"></div>
            </div>
            <label ng-bind="dialog.pageInfo(dialog._objcheckList.PageConfig);"></label>
            <div class="page-icon">
              <img src="image/icons/dropright.png" />
              <div class="kmi-can-click" ng-click="dialog.nextPage(dialog._objcheckList.PageConfig);"></div>
            </div>
          </div>
        </div>
        <div class="mdd-list c-mdd-list" null="" ng-show="dialog._event['detail_report'].isShown != 'N'" style="height:{{dialog._event['B0243'].GetfillHeight()}};grid-column-start:span 6;" list-name="B0243_BadList" list-bind="dialog.detail_report" list-alias="dialog.inspectionInfo.checklist_detail" enable-select="N" select-all="N" page-name="" page-type="Dialog" _transclude-elem="[object Object]">
          <div class="kmi-list column-selector" kmi-scrollbar="160px" column-selector-id="B0243_BadList" style="flex: 1">
            <div class="kmi-list__header">
              <div class="kmi-list__column head-controls" style="flex: 1 1 0%" ng-show="dialog._event['dialog.detail_report.reason'].isShown != 'N'">
                <div class="filter" ng-show="dialog._objdetail_report.header[0].isFilter">
                  <input ng-model="dialog._objdetail_report.filterColumns['reason']" />
                  <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="dialog._objdetail_report.header[0].isFilter = false;dialog._objdetail_report.filterColumns['reason'] = '';">clear</i>
                </div>

                <div class="order" ng-hide="dialog._objdetail_report.header[0].isFilter">
                  <i class="material-icons search" style="z-index: 1" ng-click="dialog._objdetail_report.header[0].isFilter = true">search</i>
                  <label ng-bind="'B0243_BadList.columns.reason' | translate"></label>
                  <i class="material-icons" ng-show="dialog._objdetail_report.queryOrder == 0">{{!dialog._objdetail_report.header[0].order?'':''}}</i>
                  <div class="kmi-can-click" ng-click="dialog.orderResult(0, 'reason', 'dialog._objdetail_report');"></div>
                </div>
              </div>
              <div class="kmi-list__column head-controls" style="flex: 1" ng-show="dialog._event['dialog.detail_report.item_qty'].isShown != 'N'">
                <div class="filter" ng-show="dialog._objdetail_report.header[1].isFilter">
                  <input ng-model="dialog._objdetail_report.filterColumns['item_qty']" />
                  <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="dialog._objdetail_report.header[1].isFilter = false;dialog._objdetail_report.filterColumns['item_qty'] = '';">clear</i>
                </div>

                <div class="order" ng-hide="dialog._objdetail_report.header[1].isFilter">
                  <i class="material-icons search" style="z-index: 1" ng-click="dialog._objdetail_report.header[1].isFilter = true">search</i>
                  <label ng-bind="'B0243_BadList.columns.item_qty' | translate"></label>
                  <i class="material-icons" ng-show="dialog._objdetail_report.queryOrder == 1">{{!dialog._objdetail_report.header[1].order?'':''}}</i>
                  <div class="kmi-can-click" ng-click="dialog.orderResult(1, 'item_qty', 'dialog._objdetail_report');"></div>
                </div>
              </div>
              <div item-name="remove_row" class="kmi-list__column width-fixed" style="flex: 0 0 40px"></div>
            </div>
            <div class="kmi-list__row-content">
              <div class="kmi-list__row" id="B0243_BadList_result_list" ng-repeat="item in dialog._event['dialog.detail_report'].getPages(dialog.inspectionInfo.checklist_detail, dialog._objdetail_report.PageConfig, dialog._objdetail_report.filterColumns, dialog._objdetail_report.header[dialog._objdetail_report.queryOrder]) track by $index" ng-class="{'is-select':dialog._event['dialog.detail_report'].checkSelect(item, {index:$index, event:$event})}">
                <div item-name="reason" class="kmi-list__column column-input column-border" style="flex: 1; z-index: 1">
                  <input type="text" ng-value="item.page_no +' ' + item.page_name" readonly="readonly" ng-click="dialog.loadInspectionReasonList(item);" />
                </div>
                <div class="kmi-list__column column-input" style="flex: 1; z-index: 1" ng-class="{'column-border':!$last}" ng-show="dialog._event['dialog.detail_report.item_qty'].isShown != 'N'">
                  <div class="kmi-text-fields">
                    <input type="text" readonly="" ng-model="item.item_qty" ng-click="dialog._event['dialog.detail_report.item_qty'].click(item.item_qty, {eventScope:item, event:$event, index:$index});" />
                  </div>
                </div>
                <div item-name="remove_row" class="kmi-list__column" style="flex: 0 0 40px; z-index: 1">
                  <button class="mdl-button mdl-button--icon" ng-click="dialog.removeRow($index);">
                    <img src="image/icons/delete.png" />
                  </button>
                </div>
                <div class="kmi-can-click" ng-click="dialog._event['dialog.detail_report'].rowClick(item, {index:$index, event:$event});"></div>
              </div>
            </div>
          </div>
          <div class="page-content">
            <div class="page-icon">
              <img src="image/icons/dropleft.png" />
              <div class="kmi-can-click" ng-click="dialog.prevPage(dialog._objdetail_report.PageConfig);"></div>
            </div>
            <label ng-bind="dialog.pageInfo(dialog._objdetail_report.PageConfig);"></label>
            <div class="page-icon">
              <img src="image/icons/dropright.png" />
              <div class="kmi-can-click" ng-click="dialog.nextPage(dialog._objdetail_report.PageConfig);"></div>
            </div>
          </div>
        </div>
        <grid item-name="pic" class="image-report" ng-show="dialog._event['pic'].isShown != 'N'" style="height:{{dialog._event['B0243'].GetfillHeight()}}; grid-column-start: span 6;">
          <div class="pic-list" ng-show="dialog.picSrcArray.length != 0">
            <div class="pic-item" ng-repeat="pic in dialog.picSrcArray track by $index">
              <div class="pic-item-title">
                <span style="color: white; margin: 0px; position: absolute; top: 10px; left: 10px">{{'#'+($index+1)}}</span>
                <button class="mdl-button mdl-button--icon pic-delete" ng-click="dialog.pic_delete($index);">
                  <img src="image/icons/close.png" />
                </button>
              </div>
              <img class="pic-img" ng-src="{{'data:image/jpeg;base64,'+pic}}" ng-click="dialog.pic_open($index)" />
            </div>
          </div>
          <img class="pic-background" src="image/icons/picture.png" ng-show="dialog.picSrcArray.length == 0" />
        </grid>
      </div>
      <div class="mdd-button-tool">
        <div class="tool-bar">
          <div item-name="add_btn">
            <button class="mdl-button mdl-js-button mdl-button--icon mdl-button--icon_prime" ng-click="dialog.add_btn($event);" style="top: 4px; margin-right: 8px" ng-show="dialog._event['pic'].isShown != 'N' || dialog._event['detail_report'].isShown != 'N'">
              <img src="image/icons/add.png" />
            </button>
          </div>
          <div item-name="inspectionInfo" class="open-check-item" ng-click="dialog.changePages(0)">
            <div class="page-dot" ng-show="dialog.inspectionInfo.qc_reason_detail.length > 0">
              <label ng-bind="dialog.inspectionInfo.qc_reason_detail.length"></label>
            </div>
            <label ng-bind="'B0240.check_list.column2' | translate"></label>
            <div class="kmi-can-click"></div>
          </div>
          <div item-name="upload_photo" class="open-upload-photo" ng-click="dialog.changePages(1)">
            <div class="page-dot" ng-show="dialog.picSrcArray.length > 0">
              <label ng-bind="dialog.picSrcArray.length"></label>
            </div>
            <label ng-bind="'B0240.upload_photo' | translate"></label>
            <div class="kmi-can-click"></div>
          </div>
          <div item-name="abnormal_detail" class="open-bad-reasons" ng-click="dialog.changePages(2)">
            <div class="page-dot" ng-show="dialog.inspectionInfo.checklist_detail.length > 0">
              <label ng-bind="dialog.inspectionInfo.checklist_detail.length"></label>
            </div>
            <label ng-bind="'B0240.list.column1' | translate"></label>
            <div class="kmi-can-click"></div>
          </div>
          <div item-name="first" style="display: flex; align-items: center" ng-show="!dialog.inspectionInfo.spc_flag">
            <label class="label" ng-bind="'B0240.first_apply_qc' | translate"></label>
            <div style="margin-left: 10px" class="check-point-switch" ng-class="{'is-selected':dialog.inspectionInfo.apply_qc_flag}" ng-click="dialog.change_apply_qc();">
              <div style="width: 24px; height: 24px"></div>
            </div>
          </div>
          <div item-name="last" style="display: flex; align-items: center" ng-show="!dialog.inspectionInfo.spc_flag">
            <label class="label" ng-bind="'B0240.last_apply_qc' | translate"></label>
            <div style="margin-left: 10px" class="check-point-switch" ng-class="{'is-selected':dialog.inspectionInfo.last_apply_qc}" ng-click="dialog.change_last_apply_qc();">
              <div style="width: 24px; height: 24px"></div>
            </div>
          </div>
        </div>
        <div class="tool-bar" style="justify-content: flex-end">
          <div class="kmi-button kmi-button-confrim btn-confirm" ng-disabled="dialog._fn['confirm'].isDisabled == 'Y'" ng-hide="dialog._fn['confirm'].isShown == 'N'" style="width: 100px">
            <label ng-bind="'common.btn.confirm' | translate"></label>
            <div class="kmi-can-click" ng-click="dialog._fn['confirm'].click('confirm');"></div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
